{% extends "adibilisadminBundle::layout.html.twig" %}
 
{% block title %}
  Nouvel article - {{ parent() }}
{% endblock %}

{% block adibilisadmin_body %}

{% if app.session.hasFlash('info') %}
        <div class="alert alert-success">
            {{ app.session.flash('info') }}
        </div>
{% endif %}




<h1>Nouvel article</h1>

<form action="{{ path('article_create') }}" method="post" {{ form_enctype(form) }}>
    {{ form_widget(form) }}
    <p>
        <button type="submit" class="btn btn-primary">Ajouter</button>
    </p>
</form>

        <a href="{{ path('article', {'page': 1}) }}" class="btn">
            <i class="icon-chevron-left"></i>
            Retour à la liste
        </a>


{% endblock %}